package com.practice.Http.XML.POJO;

/**
 * Created by Crowhyc on 2015/1/27.
 */
public class Order {
    private long orderNumber;
    private Customer customer;
    private Address orderAddress;
    private Shipping shipping;
    private Address postAddress;
    private float totalPrice;

    public long getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(long orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public Address getOrderAddress() {
        return orderAddress;
    }

    public void setOrderAddress(Address orderAddress) {
        this.orderAddress = orderAddress;
    }

    public Shipping getShipping() {
        return shipping;
    }

    public void setShipping(Shipping shipping) {
        this.shipping = shipping;
    }

    public Address getPostAddress() {
        return postAddress;
    }

    public void setPostAddress(Address postAddress) {
        this.postAddress = postAddress;
    }

    public float getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(float totalPrice) {
        this.totalPrice = totalPrice;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderNumber=" + orderNumber +
                ", customer=" + customer +
                ", orderAddress=" + orderAddress +
                ", shipping=" + shipping +
                ", postAddress=" + postAddress +
                ", totalPrice=" + totalPrice +
                '}';
    }
}
